        <!--Address-->
        <section id="footer" class="white-bg"><hr>
            <div id="address">
                <div class="container" style="padding-bottom:50px">
                    <div class="span3 ">
                        <h2>Vietnam</h2>
                        6th floor, 163-165 Tran Hung Dao St., Dist.1, Ho Chi Minh city							<br />
                        Tel: (84-8) 66530372/ 39204530  <br />
                        Fax:  <br /><br />
			Email: <a href="mailto:info@vietnambiketours.com" target="_blank">info@vietnambiketours.com</a> 
                    </div>
                    <div class="span3 ">
                        <h2>Thailand</h2>
                        3/2 Ratchapakinai road, Chiang Mai, Thailand							<br />
                        Tel: (66) 819527699 <br />
                        Fax:  <br />
                        <br />
                        Email: <a href="mailto:info@vietnambiketours.com" target="_blank">info@vietnambiketours.com</a> 
                    </div>
                    <div class="span3 ">
                        <h2>Cambodia</h2>
                         No. 578, St. Kampuchea Krom (St. 128), Phnom Penh, Kingdom of Cambodia.							<br />
                        Tel: (855)23 882 955 <br />
                        Fax:  <br />
                        <br />
                        Email: <a href="mailto:info@vietnambiketours.com" target="_blank">info@vietnambiketours.com</a> 
                    </div>
                    <div class="span3 ">
                        <h2>Laos</h2>
                        129 Road 13 Pakse Champasak Province, Laos							<br />
                        Tel:  (856-31) 212 893 <br />
                        Fax:  <br />
                        <br />
                        Email: <a href="mailto:info@vietnambiketours.com" target="_blank">info@vietnambiketours.com</a> 
                    </div>
                </div>
            </div>
        </section>
        
        <!-- Social icon -->
        <div class="social">
            <div class="container">                                    
                <ul class="ch-grid">
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-1"></div>
                                <div class="ch-info-back"> <img src="{{ theme_url }}/assets/images/social-icons/facebook_dark.png" alt="" /> </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-2"></div>
                                <div class="ch-info-back"> <img src="{{ theme_url }}/assets/images/social-icons/in_dark.png" alt="" /> </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-3"></div>
                                <div class="ch-info-back"> <img src="{{ theme_url }}/assets/images/social-icons/twitter02_dark.png" alt="" /> </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-4"></div>
                                <div class="ch-info-back"> <img src="{{ theme_url }}/assets/images/social-icons/dribbble_dark.png" alt="" /> </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <!-- Copyright -->
        <div class="copyright" >
            <div class="container"><p> © 2013 nugrafiz all rights reserved.</p> </div>
        </div>
        
        <!-- javascript -->         
        <script src="{{ theme_url }}/assets/js/bootstrap/bootstrap.min.js" type="text/javascript"></script>
        <script src="{{ theme_url }}/assets/js/retina/retina.js" type="text/javascript"></script>
        <script src="{{ theme_url }}/assets/js/twitter/twitlive-min.js"></script>
        <!-- Custom Scrollbar -->   
        <script src="{{ theme_url }}/assets/js/nicescroll/jquery.nicescroll.min.js" type="text/javascript"></script>
        <!-- Fly Category --> 
        <script src="{{ theme_url }}/assets/js/isotope/jquery.isotope.min.js"></script> 
        <script src="{{ theme_url }}/assets/js/isotope/Isotope-Filtering.js"></script>		

        <!-- Supersized Slider --> 
        <script type="text/javascript" src="{{ theme_url }}/assets/js/supersized/jquery.easing.min.js"></script> 
        <script type="text/javascript" src="{{ theme_url }}/assets/js/supersized/supersized.3.2.7.min.js"></script> 
        <script type="text/javascript" src="{{ theme_url }}/assets/js/supersized/supersized.shutter.min.js"></script> 
        <script type="text/javascript" src="{{ theme_url }}/assets/js/supersized/supersized-images.js"></script> 
        <!-- Scroll To --> 
        <script src="{{ theme_url }}/assets/js/nav/jquery.scrollTo.js"></script> 
        <script src="{{ theme_url }}/assets/js/nav/jquery.nav.js"></script>     
        
        <script type="text/javascript">
            //Preloader
            jQuery(window).load(function() {
                $('.doc-loader').fadeOut('slow'); 
                //displayHints();
                //addTweets();                
            });
            
            $(document).ready(function() {
                if( $('#homepage').html() != '') 
                    $('.logo-bottom .logo').show();
                
                $("html").niceScroll();  // The document page (body)
                
                $('.nav').onePageNav({
                    filter: ':not(.external)',
                    scrollThreshold: 0.25
                });
                
                $.getJSON('{{ site_url }}/home/slideshow', function(data) {
                    //big background slideshow
                    $.supersized({				
                        // Functionality
                        slideshow               :   1,			// Slideshow on/off
                        autoplay			:	1,			// Slideshow starts playing automatically
                        start_slide             :   1,			// Start slide (0 is random)
                        stop_loop			:	0,			// Pauses slideshow on last slide
                        random			: 	0,			// Randomize slide order (Ignores start slide)
                        slide_interval          :   3000,		// Length between transitions
                        transition              :   1, 			// 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
                        transition_speed		:	1000,		// Speed of transition
                        new_window			:	1,			// Image links open in new window/tab
                        pause_hover             :   0,			// Pause slideshow on hover
                        keyboard_nav            :   1,			// Keyboard navigation on/off
                        performance			:	1,			// 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
                        image_protect		:	1,			// Disables image dragging and right click with Javascript

                        // Size & Position						   
                        min_width		       :   0,			// Min width allowed (in pixels)
                        min_height		       :   0,			// Min height allowed (in pixels)
                        vertical_center         :   1,			// Vertically center background
                        horizontal_center       :   1,			// Horizontally center background
                        fit_always			:	0,			// Image will never exceed browser width or height (Ignores min. dimensions)
                        fit_portrait         	:   1,			// Portrait images will not exceed browser height
                        fit_landscape		:   0,			// Landscape images will not exceed browser width

                        // Components							
                        slide_links				:	'blank',	// Individual links for each slide (Options: false, 'num', 'name', 'blank')
                        thumb_links				:	1,			// Individual thumb links for each slide
                        thumbnail_navigation    :   0,			// Thumbnail navigation
                        /*slides 					:  	[			// Slideshow Images
                                                                                                {image : 'http://vietnambiketours.net/wp-content/themes/biker_temp2/image/slider/1.jpg', title : 'Community<div class="slidedescription">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div>', thumb : '', url : 'http://vietnambiketours.net/wp-content/themes/biker_temp2/image/slider/1.jpg'},
                                                                                                {image : 'http://vietnambiketours.net/wp-content/themes/biker_temp2/image/slider/2.jpg', title : 'Environment<div class="slidedescription">Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam.</div>', thumb : '', url : 'http://vietnambiketours.net/wp-content/themes/biker_temp2/image/slider/2.jpg'}
                                                                                ],*/
                        //slides : [{"image":"{{ theme_url }}/assets/images/slider/1.jpg","url":"{{ theme_url }}/assets/images/slider/1.jpg","title":"Vietnam Bike Tours"},{"image":"{{ theme_url }}/assets/images/slider/2.jpg","url":"{{ theme_url }}/assets/images/slider/2.jpg","title":"riding for community"}],   
                        slides : data,

                        // Theme Options			   
                        progress_bar			:	1,			// Timer for each slide							
                        mouse_scrub				:	0

                    });
                });
                
                //add tours to selectbox + ... + ajax
            });
            
            //resize video
            function resize_video_for_wh() {
                if($("#hidden_video_url").length > 0) {
                    var div_width = $(".content .container .span8").width();
                    var div_height = $(".content .container .span8").height();
                    var video_html = $("#hidden_video_url").val();
                    //alert(video_html);
                    video_html = video_html.replace('f_width', div_width);
                    video_html = video_html.replace('f_height', div_width / 2);
                    //alert(video_html);
                    $("#thumbnail_video_image").html(video_html);
                }
            }
            
            function paypal()  //old name is test
            {
                var price = $("#price").val();
                url = "<?php echo site_url();?>/paypal.php?price=" + (parseInt(price)/2);
                window.location = url;
            }
            
            //Facebook App
            (function(d, s, id) {
                var js, fjs = d.getElementsByTagName(s)[0];
                if (d.getElementById(id)) return;
                js = d.createElement(s); js.id = id;
                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=331065213585910";
                fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));
        </script>
        
        {{ template:footer }}
        
    </body>
</html>